]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
7 years agowindowManager: Handle starting/stopping of X11 services
Carlos Garnacho [Thu, 15 Aug 2019 11:29:53 +0000 (13:29 +0200)]
windowManager: Handle starting/stopping of X11 services

We now do 2 things along Xwayland startup/shutdown:
- Start or stop the gnome-session-x11-services target, that will
  pull all X11 related services that the session might depend on.
- As we start ibus-daemon manually, trigger a restart in order to
  toggle the XIM daemon on and off along with Xwayland presence.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/680

7 years agoibusManager: Add call to restart the ibus daemon
Carlos Garnacho [Thu, 15 Aug 2019 11:28:59 +0000 (13:28 +0200)]
ibusManager: Add call to restart the ibus daemon

We may need to restart it with different arguments, so make it
possible to do that. Also, avoid to just restart it on _clear(),
this is now most likely through our --replace call than it is
through ibus-daemon eg. dying, avoids some noise in logs as
there is already an ongoing ibus-daemon.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/680

7 years agoshell: Add helpers to start/stop systemd units
Carlos Garnacho [Thu, 15 Aug 2019 11:22:24 +0000 (13:22 +0200)]
shell: Add helpers to start/stop systemd units

These just send the respective DBus message to the systemd user service.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/680

7 years agoBump version to 3.33.92
Florian Müllner [Wed, 4 Sep 2019 18:54:34 +0000 (20:54 +0200)]
Bump version to 3.33.92

Update NEWS.

7 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Tue, 3 Sep 2019 19:36:12 +0000 (19:36 +0000)]
Update Brazilian Portuguese translation

7 years agoUpdate Croatian translation
Goran Vidović [Tue, 3 Sep 2019 15:48:10 +0000 (15:48 +0000)]
Update Croatian translation

7 years agoUpdate Indonesian translation
Kukuh Syafaat [Tue, 3 Sep 2019 12:19:11 +0000 (12:19 +0000)]
Update Indonesian translation

7 years agokeyboard: Fix EmojiSelection:delta range
Florian Müllner [Mon, 2 Sep 2019 22:25:24 +0000 (00:25 +0200)]
keyboard: Fix EmojiSelection:delta range

The setter clamps the values to the range (-width, width), so we
must not limit the property to positive values.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/698

7 years agonotificationDaemon: Catch exceptions while loading notifications
Will Thompson [Wed, 28 Aug 2019 14:38:03 +0000 (15:38 +0100)]
notificationDaemon: Catch exceptions while loading notifications

An Endless OS system was found in the wild with a malformed
.local/share/gnome-shell/notifications which causes _loadNotifications()
to raise an exception. This exception was not previously handled and
bubbles all the way out to gnome_shell_plugin_start(), whereupon the
shell exit(1)s. The user could no longer log into their computer.

Handle exceptions from _loadNotifications(), log them, and attempt to
continue. Ensure that this._isLoading is set to 'false' even on error,
so that future calls to _saveNotifications() can overwrite the (corrupt)
state file.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1552

7 years agoglobal: Don't trust persistent/runtime state data
Will Thompson [Wed, 28 Aug 2019 14:39:44 +0000 (15:39 +0100)]
global: Don't trust persistent/runtime state data

An Endless OS system was found in the wild with a malformed
.local/share/gnome-shell/notifications. When deserialized in Python,
after passing trusted=True to g_variant_new_from_bytes(), the first
element of the first struct in the array looks like this:

    In [41]: _38.get_child_value(0).get_child_value(0)
    Out[41]: GLib.Variant('s', '\Uffffffff\Uffffffff\Uffffffff\Uffffffff\Uffffffff')

When deserialised in GJS, we get:

    gjs> v.get_child_value(0).get_child_value(0)
    [object variant of type "s"]
    gjs> v.get_child_value(0).get_child_value(0).get_string()
    typein:43:1 malformed UTF-8 character sequence at offset 0
      @typein:43:1
      @<stdin>:1:34

While g_variant_new_from_bytes() doesn't have much to say about its
'trusted' parameter, g_variant_new_from_data() does:

> If data is trusted to be serialised data in normal form then trusted
> should be TRUE. This applies to serialised data created within this
> process or read from a trusted location on the disk (such as a file
> installed in /usr/lib alongside your application). You should set
> trusted to FALSE if data is read from the network, a file in the
> user's home directory, etc.

Persistent state is read from the user's home directory, so it should
not be trusted. With trusted=False, the string value above comes out as
"".

I don't have an explanation for how this file ended up being malformed.
I also don't have an explanation for when this started crashing: my
guess is that recent GJS became stricter about validating UTF-8 but I
could be wrong!

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1552

7 years agoshell: Get cairo surface via window actor
Jonas Ådahl [Mon, 26 Aug 2019 13:37:09 +0000 (16:37 +0300)]
shell: Get cairo surface via window actor

Instead of going via the MetaShapedTexture to get the cairo surface, get
it from the window actor. The window actor can then handle this in a way
that makes it include potential subsurfaces.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/692

7 years agoUpdated Czech translation
Marek Černocký [Mon, 2 Sep 2019 06:53:00 +0000 (08:53 +0200)]
Updated Czech translation

7 years agoUpdate Czech translation
Daniel Rusek [Sun, 1 Sep 2019 21:21:10 +0000 (21:21 +0000)]
Update Czech translation

7 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 1 Sep 2019 19:32:34 +0000 (22:32 +0300)]
Updated Lithuanian translation

7 years agoUpdate Catalan translation
Jordi Mas [Sun, 1 Sep 2019 14:37:08 +0000 (16:37 +0200)]
Update Catalan translation

7 years agoendSessionDialog: Initialize Polkit permission asynchronously
Jonas Dreßler [Fri, 23 Aug 2019 12:48:36 +0000 (14:48 +0200)]
endSessionDialog: Initialize Polkit permission asynchronously

The updatesPermission is currently initialized synchronously, which
blocks the Mainloop for quite some time and therefore slows down startup
of the shell, let's do it asynchronously instead.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/689

7 years agoUpdate Korean translation
Changwoo Ryu [Sun, 1 Sep 2019 09:00:28 +0000 (09:00 +0000)]
Update Korean translation

7 years agoUpdate Punjabi translation
A S Alam [Sat, 31 Aug 2019 13:45:30 +0000 (13:45 +0000)]
Update Punjabi translation

7 years agoUpdate Japanese translation
Ryuta Fujii [Thu, 29 Aug 2019 11:49:39 +0000 (11:49 +0000)]
Update Japanese translation

7 years agoUpdate Japanese translation
Ryuta Fujii [Thu, 29 Aug 2019 11:36:39 +0000 (11:36 +0000)]
Update Japanese translation

7 years agoUpdate Nepali translation
Pawan Chitrakar [Thu, 29 Aug 2019 08:32:16 +0000 (08:32 +0000)]
Update Nepali translation

7 years agoUpdate Friulian translation
Fabio Tomat [Wed, 28 Aug 2019 09:19:25 +0000 (09:19 +0000)]
Update Friulian translation

7 years agoUpdate German translation
Tim Sabsch [Tue, 27 Aug 2019 21:24:29 +0000 (21:24 +0000)]
Update German translation

7 years agoNotify service startup to systemd
Benjamin Berg [Sun, 25 Aug 2019 05:26:12 +0000 (07:26 +0200)]
Notify service startup to systemd

Using the bus name to notify service startup to systemd has some
disadvantages. The main one being that systemd will consider a
gnome-shell restart (Alt+F2 r) a service failure and restart the shell,
cleaning up all its children (i.e. user launched applications). In the
future the shell should launch applications in their own transient unit
so that a service restart does not affect applications.

Another potential issue is that we must never load
gnome-shell-wayland.service and gnome-shell-x11.service at the same
time, as systemd does not like two services providing the same bus
name.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1496

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/690

7 years agoci: Set XDG_RUNTIME_DIR for tests
Florian Müllner [Sun, 25 Aug 2019 15:52:49 +0000 (18:52 +0300)]
ci: Set XDG_RUNTIME_DIR for tests

Mutter's backend code depends on it being set.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/691

7 years agost: Adjust theme test
Florian Müllner [Sun, 25 Aug 2019 13:57:11 +0000 (16:57 +0300)]
st: Adjust theme test

Mutter's Clutter fork can no longer be initialized separatedly, as
its backend now draws from MetaBackend. Adjust the code to use the
newly added test initialization function instead to get the test
back up.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/691

7 years agotests: Don't initialize Clutter
Florian Müllner [Sun, 25 Aug 2019 07:39:04 +0000 (10:39 +0300)]
tests: Don't initialize Clutter

Clutter's backend code depends on MetaBackend now, which makes it
impossible to initialize without resorting to private mutter API.

Luckily we only need Clutter for interactive tests which are broken
anyway, as Clutter.main() and friends were removed a while ago.

So for now, get at least unit tests working again by simply the
unnecessary Clutter initialization.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/691

7 years agoUpdate Japanese translation
Ryuta Fujii [Tue, 27 Aug 2019 11:26:32 +0000 (11:26 +0000)]
Update Japanese translation

7 years agoUpdate Japanese translation
Ryuta Fujii [Tue, 27 Aug 2019 10:45:55 +0000 (10:45 +0000)]
Update Japanese translation

7 years agoshell-extension-tool: Fix typo
Florian Müllner [Tue, 27 Aug 2019 08:55:54 +0000 (11:55 +0300)]
shell-extension-tool: Fix typo

Spotted by Amr Ibrahim.

7 years agopointerA11yTimeout: Create new PieTimer object for each timeout
Jonas Dreßler [Sun, 25 Aug 2019 16:02:14 +0000 (18:02 +0200)]
pointerA11yTimeout: Create new PieTimer object for each timeout

Since we now put a short timeout in before the start of the actual pie
timer we don't start the timer as often as we used to. This allows us to
create a new PieTimer object each time a timeout is started and
therefore play a finish animation independently of other (new) timeouts.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/688

7 years agopointerA11yTimeout: Add a zoom out+fade animation on success
Jonas Dreßler [Thu, 22 Aug 2019 08:25:19 +0000 (10:25 +0200)]
pointerA11yTimeout: Add a zoom out+fade animation on success

We currently don't indicate success of the pie timer at all, let's do
this by animating the circle's scale and fading it out at the same time.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/688

7 years agopointerA11yTimeout: Draw a clean circle if the pie is finished
Jonas Dreßler [Thu, 22 Aug 2019 08:05:40 +0000 (10:05 +0200)]
pointerA11yTimeout: Draw a clean circle if the pie is finished

If the circle is complete and the pie timeout finished, we don't need
the lines to the center point indicating the ends of the pie anymore.
We just draw a clean circle instead, which allows for a zoom-out and
fade animation of the circle when we're done.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/688

7 years agopointerA11yTimeout: Don't stop the pie timer if it finished successfully
Jonas Dreßler [Thu, 22 Aug 2019 08:10:23 +0000 (10:10 +0200)]
pointerA11yTimeout: Don't stop the pie timer if it finished successfully

If the pie timeout has finished successfully there's no need to cancel
the pie animation, instead we can just wait for that animation to finish
and show some visual feedback like a zoom-out animation to indicate the
click afterwards.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/688

7 years agopointerA11yTimeout: Fade the pie timer in
Jonas Dreßler [Thu, 22 Aug 2019 08:02:42 +0000 (10:02 +0200)]
pointerA11yTimeout: Fade the pie timer in

Fade the pie timer in using a duration of 1/4 of the timeout and a
EASE_IN_QUAD animation. This significantly reduces flickering of the pie
timer while moving the cursor and makes the timer less distracting.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/688

7 years agopointerA11yTimeout: Remove unused properties
Jonas Dreßler [Thu, 22 Aug 2019 07:59:22 +0000 (09:59 +0200)]
pointerA11yTimeout: Remove unused properties

Those properties were overlooked in 5cb02c1c, remove them now.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/688

7 years agoUpdate British English translation
Zander Brown [Mon, 26 Aug 2019 21:21:58 +0000 (21:21 +0000)]
Update British English translation

7 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 26 Aug 2019 20:20:53 +0000 (22:20 +0200)]
Updated Slovenian translation

7 years agoUpdate Galician translation
Fran Dieguez [Mon, 26 Aug 2019 15:22:53 +0000 (15:22 +0000)]
Update Galician translation

7 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 26 Aug 2019 10:26:03 +0000 (12:26 +0200)]
Updated Spanish translation

7 years agoUpdate Catalan translation
Jordi Mas [Sun, 25 Aug 2019 19:54:37 +0000 (21:54 +0200)]
Update Catalan translation

7 years agoUpdate Galician translation
Fran Dieguez [Sun, 25 Aug 2019 16:47:04 +0000 (16:47 +0000)]
Update Galician translation

7 years agoUpdate Swedish translation
Anders Jonsson [Sat, 24 Aug 2019 20:05:19 +0000 (20:05 +0000)]
Update Swedish translation

7 years agoUpdate Latvian translation
Rūdolfs Mazurs [Sat, 24 Aug 2019 16:21:58 +0000 (16:21 +0000)]
Update Latvian translation

7 years agoUpdate Polish translation
Piotr Drąg [Fri, 23 Aug 2019 16:41:05 +0000 (18:41 +0200)]
Update Polish translation

7 years agoUpdate Basque translation
Asier Sarasua Garmendia [Fri, 23 Aug 2019 07:18:19 +0000 (07:18 +0000)]
Update Basque translation

7 years agoUpdate Basque translation
Asier Sarasua Garmendia [Thu, 22 Aug 2019 21:45:29 +0000 (21:45 +0000)]
Update Basque translation

7 years agoUpdate Finnish translation
Jiri Grönroos [Thu, 22 Aug 2019 16:36:37 +0000 (16:36 +0000)]
Update Finnish translation

7 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 22 Aug 2019 13:06:34 +0000 (15:06 +0200)]
Updated Spanish translation

7 years agoUpdate Persian translation
Danial Behzadi [Thu, 22 Aug 2019 12:10:52 +0000 (12:10 +0000)]
Update Persian translation

7 years agoUpdate Romanian translation
Daniel Șerbănescu [Thu, 22 Aug 2019 08:05:48 +0000 (08:05 +0000)]
Update Romanian translation

7 years agoUpdate POTFILES.in
Piotr Drąg [Wed, 21 Aug 2019 23:17:50 +0000 (01:17 +0200)]
Update POTFILES.in

7 years agoBump version to 3.33.91
Florian Müllner [Wed, 21 Aug 2019 19:47:37 +0000 (19:47 +0000)]
Bump version to 3.33.91

Update NEWS.

7 years agoextensionPrefs: Request correct GDK/GTK versions
Florian Müllner [Wed, 21 Aug 2019 17:36:42 +0000 (19:36 +0200)]
extensionPrefs: Request correct GDK/GTK versions

gjs no longer has an implicit dependency on GTK 3.0, so without
requesting an explicit version, we will get the highest available.

Our code isn't GTK-4 ready, so request 3.0 explicitly.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/686

7 years agoshell: Ignore non-toplevels for ShellWindowTracker::tracked-windows-changed
Carlos Garnacho [Fri, 19 Jul 2019 16:17:54 +0000 (18:17 +0200)]
shell: Ignore non-toplevels for ShellWindowTracker::tracked-windows-changed

Popups and other override-redirect windows are meaningless to everything
that depends on the ShellWindowTracker. Ignoring those windows will result
in less ShellApp::windows-changed signal emissions, and less activity in
the AppMenuButton and everything else that depends on them.

Reduces gnome-shell CPU activity while typing on the Epiphany addressbar,
as the pop up animation there results in a number of xdg_popup being
created and destroyed.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/642
https://gitlab.gnome.org/GNOME/mutter/issues/556

7 years agoshell-extension-tool: Turn into a small wrapper
Florian Müllner [Thu, 11 Jul 2019 16:16:41 +0000 (16:16 +0000)]
shell-extension-tool: Turn into a small wrapper

Now that we have a replacement, deprecate the existing tool and make
it call out to the new one instead of implementing any functionality
on its own.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Add 'reset' command
Florian Müllner [Wed, 24 Jul 2019 13:18:59 +0000 (15:18 +0200)]
extensions-tool: Add 'reset' command

Now that we allow to disable session mode extensions, it can be useful
to reset an extension to its original state, that is disabled in the
regular session, but possibly enabled via the session mode.

Add a corresponding command.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Adjust enable/disable commands to shell changes
Florian Müllner [Tue, 23 Jul 2019 23:30:04 +0000 (01:30 +0200)]
extensions-tool: Adjust enable/disable commands to shell changes

Change both 'enabled-extensions' and 'disabled-extensions' keys as in
commit ce1bee727. While those actions are now also exposed by the
shell's D-Bus API, there is some value in allowing the tool to be used
outside a running GNOME session (for example in setup scripts), so
keep changing the GSettings keys directly.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Split out settings_list_add/remove helpers
Florian Müllner [Tue, 23 Jul 2019 23:24:52 +0000 (01:24 +0200)]
extensions-tool: Split out settings_list_add/remove helpers

With the addition of the 'disabled-extensions' key in commit ce1bee727,
the way extensions are enabled/disabled changed: Now a UUID is always
added to one list and removed from another.

Prepare for that by generalizing the relevant bits of the existing
enable/disable commands as helper functions.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Add 'uninstall' command
Florian Müllner [Thu, 11 Jul 2019 20:35:49 +0000 (22:35 +0200)]
extensions-tool: Add 'uninstall' command

Uninstall is another action that can be useful from the command line,
so expose that as well.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Handle existing extension folder
Florian Müllner [Fri, 11 Jan 2019 22:35:12 +0000 (23:35 +0100)]
extensions-tool: Handle existing extension folder

g_file_make_directory_with_parents() returns an error if the directory
already exists (unlike g_mkdir_with_parents()), so it is currently
impossible to install more than a single extension, whoops.

Handle the error properly by just carrying on.

https://gitlab.gnome.org/fmuellner/gnome-extensions-tool/merge_requests/3
https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Add 'prefs' command
Florian Müllner [Fri, 11 Jan 2019 11:03:17 +0000 (12:03 +0100)]
extensions-tool: Add 'prefs' command

Easily launching an extension's preference dialog from the command
line can be quicker than using a UI like Tweaks or the extension
website, so add that functionality.

https://gitlab.gnome.org/fmuellner/gnome-extensions-tool/merge_requests/2
https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Add '--prefs' list option
Florian Müllner [Fri, 11 Jan 2019 11:18:14 +0000 (12:18 +0100)]
extensions-tool: Add '--prefs' list option

We are about to add a 'prefs' command for launching an extension's
preference dialog. As that command only makes sense for extensions
that actually have preferences, shell completion should filter the
list of extensions accordingly. To allow that, add an appropriate
list option.

https://gitlab.gnome.org/fmuellner/gnome-extensions-tool/merge_requests/2
https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Add 'install' command
Florian Müllner [Mon, 3 Sep 2018 23:41:55 +0000 (01:41 +0200)]
extensions-tool: Add 'install' command

The ability to install unaudited extensions directly from a zip file
can be useful for testing and code review, so implement a corresponding
command that complements the previously added 'pack' command.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Add new 'pack' command
Florian Müllner [Fri, 31 Aug 2018 03:14:23 +0000 (05:14 +0200)]
extensions-tool: Add new 'pack' command

Extensions are uploaded to extensions.gnome.org as zip files that
not only contain the extension sources, but also compiled GSettings
schemas and message catalogues. To make this more convenient, add
a corresponding command for creating an archive suitable for up-
loading.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Show Philip some info
Florian Müllner [Thu, 18 Oct 2018 15:53:30 +0000 (17:53 +0200)]
extensions-tool: Show Philip some info

Add a 'show' alias for the previously added 'info' command
because it makes sense:

https://twitter.com/pwithnall/status/1036895943004762112

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Add info command
Florian Müllner [Tue, 28 Aug 2018 04:01:30 +0000 (06:01 +0200)]
extensions-tool: Add info command

We already support displaying extension details for the list command,
so it's a logical extension to also support showing extension info
for a particular extension (not least because the shell has a
corresponding D-Bus method).

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoci: Turn off man pages
Florian Müllner [Wed, 21 Aug 2019 15:57:11 +0000 (17:57 +0200)]
ci: Turn off man pages

There is little to test there, and excluding them slightly reduces the
dependencies in the CI image.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Add a man page
Florian Müllner [Tue, 28 Aug 2018 04:00:11 +0000 (06:00 +0200)]
extensions-tool: Add a man page

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Add bash completion
Florian Müllner [Tue, 28 Aug 2018 02:38:23 +0000 (04:38 +0200)]
extensions-tool: Add bash completion

Completions are clearly helpful, in particular for extension UUIDs
that are often lengthy strings containing random usernames.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Add list options
Florian Müllner [Mon, 27 Aug 2018 04:16:54 +0000 (06:16 +0200)]
extensions-tool: Add list options

In addition to a plain list of all extensions, add options to display
additional details of each extensions and to filter the list by
enabled state or install location.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Implement list command
Florian Müllner [Mon, 27 Aug 2018 03:34:27 +0000 (05:34 +0200)]
extensions-tool: Implement list command

Seeing at a glance which extensions are installed is surely useful,
so add a corresponding command.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Add create options
Florian Müllner [Mon, 27 Aug 2018 02:30:53 +0000 (04:30 +0200)]
extensions-tool: Add create options

As we are using git-style command syntax, we can allow for data to be
provided on the command line rather than asking for it interactively.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Implement create command
Florian Müllner [Mon, 27 Aug 2018 01:24:10 +0000 (03:24 +0200)]
extensions-tool: Implement create command

This implements more functionality of the existing tool and, as
'reload' is an unreliable feature that doesn't work more often
than not, the last bit that we will replicate.

The command follows the original for the most part, with the most
important difference being the installed template, which doesn't
provide any sample functionality and uses modern JS syntax.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Implement enable/disable commands
Florian Müllner [Sun, 26 Aug 2018 19:37:07 +0000 (21:37 +0200)]
extensions-tool: Implement enable/disable commands

This replicates the most basic functionality of the existing
gnome-shell-extension-tool, albeit using a git/gio/gsettings
style command interface rather than plain options; this will
allow us to implement more complex commands that have options
on their own in the future.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agoextensions-tool: Start import
Florian Müllner [Sun, 26 Aug 2018 16:55:13 +0000 (18:55 +0200)]
extensions-tool: Start import

The gnome-extensions tool[0] was started as an external project, and
provides a replacement for the existing gnome-shell-extension-tool.
It was decided to ship the tool as part of the gnome-shell repository,
so start importing it with its history into a subdir.

[0] https://gitlab.gnome.org/fmuellner/gnome-extensions-tool

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1234

7 years agopieTimer: Use custom GObject property for animating pie
Jonas Dreßler [Wed, 21 Aug 2019 14:47:38 +0000 (16:47 +0200)]
pieTimer: Use custom GObject property for animating pie

Before the move to Clutters implicit animations with 0846238f6 and
bf497ed64, we used Tweener to do a fake-animation of the opacity and
Tweeners `onUpdate` signal to queue a repaint of the PieTimer everytime
Tweener tries to update the animation.

Now, with Clutters implicit animations, there is no `onUpdate` signal
anymore and also `notify::opacity` no longer gets emitted since the
value doesn't actually change. This lead to the PieTimer no longer being
repainted, which broke the animation.

Fix this by implementing the current angle of the pie using a custom
GObject property `angle` and animating this property using the new
`actor.ease_property` method.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1533

7 years agoUpdate Persian translation
Danial Behzadi [Wed, 21 Aug 2019 11:31:51 +0000 (11:31 +0000)]
Update Persian translation

7 years agoUpdate Polish translation
Piotr Drąg [Tue, 20 Aug 2019 17:19:52 +0000 (19:19 +0200)]
Update Polish translation

Closes https://gitlab.gnome.org/Teams/Translation/pl/issues/4

7 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 20 Aug 2019 10:43:51 +0000 (12:43 +0200)]
Updated Spanish translation

7 years agoshell-global: Set stage input region via MetaX11Display
Jonas Ådahl [Fri, 16 Aug 2019 14:29:22 +0000 (16:29 +0200)]
shell-global: Set stage input region via MetaX11Display

The API in mutter changed to set it via MetaX11Display; lets jump on the
train.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/682

7 years agoshell-global: Only sync input region if X11 session
Jonas Ådahl [Fri, 16 Aug 2019 14:28:22 +0000 (16:28 +0200)]
shell-global: Only sync input region if X11 session

We'd do an early out in the called functions eventually anyway.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/682

7 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 18 Aug 2019 19:05:31 +0000 (22:05 +0300)]
Updated Lithuanian translation

7 years agoUpdate Finnish translation
Jiri Grönroos [Sun, 18 Aug 2019 14:38:55 +0000 (14:38 +0000)]
Update Finnish translation

7 years agoUpdate Romanian translation
Florentina Mușat [Sun, 18 Aug 2019 12:26:25 +0000 (12:26 +0000)]
Update Romanian translation

7 years agoiconGrid: Only add one onComplete callback for the animations
Jonas Dreßler [Thu, 8 Aug 2019 22:18:38 +0000 (00:18 +0200)]
iconGrid: Only add one onComplete callback for the animations

We only need a callback on the last animated actor, so no need to
register the callback for all actors.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/678

7 years agoiconGrid: Restore grid actors when cancelling animations
Jonas Dreßler [Thu, 8 Aug 2019 22:15:48 +0000 (00:15 +0200)]
iconGrid: Restore grid actors when cancelling animations

When cancelling the animations of the icon grid, right now we simply
destroy all the clones without resetting the opacity and making the
actor reactive again. So if the spring animation to show the grid is
cancelled by pressing a key to start a search, the icon clones would be
destroyed, but the icon-opacity would still be set to 0. Now if the
Escape key is pressed, viewSelector will show the last active page (ie.
the iconGrid) without a custom animation and only fade in the page, and
because the icons still have an opacity of 0, they will be invisible.

Fix this by always restoring the opacity and reactive property of the
original actors if the animation is cancelled instead of only destroying
the clones.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/678

7 years agoUpdate Indonesian translation
Kukuh Syafaat [Fri, 16 Aug 2019 08:38:32 +0000 (08:38 +0000)]
Update Indonesian translation

7 years agoUpdate Catalan translation
Jordi Mas [Thu, 15 Aug 2019 07:24:26 +0000 (09:24 +0200)]
Update Catalan translation

7 years agoUpdate Basque translation
Asier Sarasua Garmendia [Wed, 14 Aug 2019 14:31:21 +0000 (14:31 +0000)]
Update Basque translation

7 years agobrightness: Ignore slider changes we initiated ourselves
Florian Müllner [Mon, 12 Aug 2019 12:10:43 +0000 (14:10 +0200)]
brightness: Ignore slider changes we initiated ourselves

Since we set the proxy value when the slider changes and set the slider
value on proxy property changes, we run into a cycle.

Before commit 3d3dca4aa this was addressed by not notifying on all slider
changes, but only in reaction to direct user action. Given that since the
splitting out of the BarLevel class those events are handled in a subclass,
that approach is at least unconvential and fairly fragile.

Instead, make the brightness indicator ignore any changes to the slider it
initiated itself.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1500

7 years agoslider: Do not notify on parent's behalf
Florian Müllner [Mon, 12 Aug 2019 15:40:54 +0000 (17:40 +0200)]
slider: Do not notify on parent's behalf

Instead just use the regular property setter which since commit 3d3dca4aa
already emits the signal and queues a redraw.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1500

7 years agobarLevel: Remove duplicated assignment
Florian Müllner [Mon, 12 Aug 2019 12:01:57 +0000 (14:01 +0200)]
barLevel: Remove duplicated assignment

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1500

7 years agoUpdate Swedish translation
Anders Jonsson [Mon, 12 Aug 2019 19:40:31 +0000 (19:40 +0000)]
Update Swedish translation

7 years agoUpdate Icelandic translation
Sveinn í Felli [Mon, 12 Aug 2019 07:47:19 +0000 (07:47 +0000)]
Update Icelandic translation

(cherry picked from commit 40db7932307d1f3f585b1fcdaf8246fc39c3c3e4)

7 years agoUpdate Basque translation
Asier Sarasua Garmendia [Sun, 11 Aug 2019 14:29:45 +0000 (14:29 +0000)]
Update Basque translation

7 years agoBump version to 3.33.90
Florian Müllner [Fri, 9 Aug 2019 21:47:13 +0000 (23:47 +0200)]
Bump version to 3.33.90

Update NEWS.

7 years agoAppIcon: Nullify _draggable if available on destruction
Marco Trevisan (Treviño) [Fri, 9 Aug 2019 21:30:44 +0000 (23:30 +0200)]
AppIcon: Nullify _draggable if available on destruction

When an AppIcon actor is destroyed we try to unset a non-existent draggable
property.

Fix the typo, doing this even if we're not currently in a drag operation.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/677

7 years agoappDisplay: Disconnect Main item-drag signals on icons destruction
Marco Trevisan (Treviño) [Fri, 9 Aug 2019 21:27:57 +0000 (23:27 +0200)]
appDisplay: Disconnect Main item-drag signals on icons destruction

Icons connect to overview's item-drag events to react to start/end drags,
however the icons should disconnect from signals once destroyed.

So, disconnect from Main events once the actors have been destroyed.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1511

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/677

7 years agoviewSelector: Use onStopped callback when fading out pages
Jonas Dreßler [Thu, 8 Aug 2019 19:09:06 +0000 (21:09 +0200)]
viewSelector: Use onStopped callback when fading out pages

With 8b368d010 we fixed a bug where the onComplete callback was always
called no matter whether the transition was interrupted before or not.
This exposed another bug: viewSelector depends on this behaviour when
fading out pages: After fading out a page, we call `this._animateIn` to
show the new page. Now if the fade-out animation gets interrupted, with
the correct behaviour of onComplete we end up not showing a new page and
the viewSelector remains empty instead. One case where this happens is
when pressing a key to start a search during the overview-animation.

Obviously we also want to show the new page in case the fade-out
animation was interrupted, so use the onStopped callback instead of the
onComplete callback here.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/674